﻿using System;
using System.ComponentModel;

namespace Pay.TO {
    /// <summary>
    /// 任务类型：1.注册，2.每日登录，3.查看商户介绍
    /// </summary>
    [Serializable]
    public enum ETaskType {
        /// <summary>
        /// 1注册
        /// </summary>
        [Description("注册")]
        Register = 1,
        /// <summary>
        /// 2邀请好友注册
        /// </summary>
		[Description("邀请好友注册")]
        InviteRegister = 2,
        /// <summary>
        /// 3关注公众号
        /// </summary>
        [Description("关注公众号")]
        FollowPubAccount = 3,
        /// <summary>
        /// 4每日登录
        /// </summary>
        [Description("每日签到")]
        Login = 4,
        /// <summary>
        /// 5查看商家介绍
        /// </summary>
        [Description("商家介绍")]
        MerchIntroduce = 5,
        /// <summary>
        /// 6加油卡
        /// </summary>
        [Description("加油卡")]
        GasFillingCard = 6,
        /// <summary>
        /// 7蚂蚁部落
        /// </summary>
        [Description("蚂蚁部落")]
        MaYiBuLuo = 7,
        /// <summary>
        /// 8币金所
        /// </summary>
        [Description("币金所")]
        CoinGold = 8,
        /// <summary>
        /// 9戈仑埠
        /// </summary>
        [Description("戈仑埠")]
        GeLunBu = 9,
        /// <summary>
        /// 10时代云商
        /// </summary>
        [Description("时代云商")]
        ShiDaiYunShang = 10,
        /// <summary>
        /// 11信用卡申请
        /// </summary>
        [Description("信用卡申请")]
        CreditCardApplication = 11,
        /// <summary>
        /// 未登录
        /// </summary>
        [Description("未登录")]
        NoLogin = 12,
        /// <summary>
        /// 其他（由后台添加）
        /// </summary>
        [Description("其他")]
        Other = 13,
        /// <summary>
        /// 14信用卡申请（新通道）
        /// </summary>
        [Description("信用卡")]
        CreditCard = 14,
        /// <summary>
        /// 15申请贷款
        /// </summary>
        [Description("申请贷款")]
        ApplyLoan = 15,
        /// <summary>
        /// 16信用卡积分兑换
        /// </summary>
        [Description("信用卡积分兑换")]
        CreditCardPointExchange = 16,
        /// <summary>
        /// 17用户升级
        /// </summary>
        [Description("用户升级")]
        UserUpgrade = 17,
        /// <summary>
        /// 观看课程
        /// </summary>
        [Description("观看课程")]
        WatchCourse = 18,
        /// <summary>
        /// 观看7蚂蚁部落,上级附加马力
        /// </summary>
        [Description("蚂蚁部落,上级附加马力")]
        MaYiParent = 19,
        /// <summary>
        /// 观看直播
        /// </summary>
        [Description("观看直播")]
        WatchLive = 20,
        /// <summary>
        /// 实名认证
        /// </summary>
        [Description("实名认证")]
        Auth = 21,
        /// <summary>
        /// 商城消费
        /// </summary>
        [Description("商城消费")]
        MallShopping = 22,
        /// <summary>
        /// 浏览商城
        /// </summary>
        [Description("浏览商城")]
        ViewMall = 23,
        /// <summary>
        /// 创客奖励
        /// </summary>
        [Description("创客奖励")]
        Maker = 24,
        /// <summary>
        /// 购买节点商城
        /// </summary>
        [Description("购买节点商城")]
        OpenTokenSupplier =25

    }


    /// <summary>
    /// 任务状态：1：正常；2：停用
    /// </summary>
    [Serializable]
    public enum ESoupTaskStatus {
        /// <summary>
        /// 1正常
        /// </summary>
        [Description("正常")]
        Normal = 1,
        /// <summary>
        /// 2停用
        /// </summary>
        [Description("停用")]
        Stopping = 2,
        /// <summary>
        /// 3预上线
        /// </summary>
        [Description("预上线")]
        AdvanceOnline = 3
    }


    /// <summary>
    /// 任务分类：1：基础任务；2：独家任务
    /// </summary>
    [Serializable]
    public enum ESoupTaskCategory {
        /// <summary>
        /// 1基础任务
        /// </summary>
        [Description("基础任务")]
        Based = 1,
        /// <summary>
        /// 2独家任务
        /// </summary>
        [Description("独家任务")]
        Exclusive = 2,
        /// <summary>
        /// 3其他任务
        /// </summary>
        [Description("其他任务")]
        Other = 3
    }

    /// <summary>
    /// 任务适用于：1：APP；2：网页
    /// </summary>
    [Serializable]
    public enum ESoupTaskApply {
        /// <summary>
        /// 1APP
        /// </summary>
        [Description("APP")]
        APP = 1,
        /// <summary>
        /// 2网页
        /// </summary>
        [Description("网页")]
        WebPage = 2,
    }
}
